Questions

  • Given our current solution, how would you add support for:
    • Return dates
    • Fines
  • Review how we return a book. Does it seem strange that we retrieve the book, get the patron, update both of them and then merge the patron?
  • How are the first two questions related?

Advanced: If you have spare time

Write a simple user interface. Your interface should support the following operations:
  • Add a book
  • Add a patron
  • Checkout a book to a patron
  • Return a book

Your choice on the type of user interface, text, servlet, swing, ...